package com.example.blogback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("article_content")
@Schema(description = "文章内容实体类")
public class ArticleContent {
    @TableId(type = IdType.AUTO)
    @Schema(description = "内容ID")
    private Long id;
    
    @Schema(description = "关联的文章ID")
    private Long articleId;
    
    @Schema(description = "文章内容")
    private String content;
}